program KalkulesMathTests;
{

  Delphi DUnit Test Project
  -------------------------
  This project contains the DUnit test framework and the GUI/Console test runners.
  Add "CONSOLE_TESTRUNNER" to the conditional defines entry in the project options 
  to use the console test runner.  Otherwise the GUI test runner will be used by 
  default.

}

{$IFDEF CONSOLE_TESTRUNNER}
{$APPTYPE CONSOLE}
{$ENDIF}

uses
  SysUtils,
  Forms,
  TestFramework,
  GUITestRunner,
  TextTestRunner,
  uExceptionTestCase in 'dunitExtensions\uExceptionTestCase.pas',
  uKalkulesMathDefines in '..\src\uKalkulesMathDefines.pas',
  uRealNumberTest in 'numbers\uRealNumberTest.pas',
  uRealNumberExceptionTest in 'numbers\uRealNumberExceptionTest.pas',
  uRealNumber in '..\src\numbers\uRealNumber.pas',
  uComplexNumberTest in 'numbers\uComplexNumberTest.pas',
  uComplexNumber in '..\src\numbers\uComplexNumber.pas',
  uModuloNumberTest in 'numbers\uModuloNumberTest.pas',
  uModuloNumber in '..\src\numbers\uModuloNumber.pas',
  TExpressionTreeTest in 'expressionTrees\TExpressionTreeTest.pas',
  uExpressionTree in '..\src\expressionTrees\uExpressionTree.pas',
  uNumberStub in 'numbers\uNumberStub.pas',
  uExpressionEvaluationTreeTest in 'expressionTrees\uExpressionEvaluationTreeTest.pas',
  uExpressionEvaluationTree in '..\src\expressionTrees\uExpressionEvaluationTree.pas',
  uFunctions in '..\src\functions\uFunctions.pas',
  uNumber in '..\src\numbers\uNumber.pas',
  uNumberExceptions in '..\src\numbers\uNumberExceptions.pas',
  uNumberWithFunctions in '..\src\numbers\uNumberWithFunctions.pas',
  uNumberFunctionStub in 'functions\uNumberFunctionStub.pas',
  uMatrix in '..\src\matrixes\uMatrix.pas',
  uMatrixTest in 'matrixes\uMatrixTest.pas';

{$R *.RES}

begin
  DecimalSeparator := '.';
  Application.Initialize;
  if IsConsole then
    TextTestRunner.RunRegisteredTests
  else
    GUITestRunner.RunRegisteredTests;
end.

